package com.smartleanx.module.hrm.controller.admin.instation;


import cn.hutool.json.JSONObject;
import com.smartleanx.framework.common.pojo.CommonResult;
import com.smartleanx.framework.common.pojo.PageParam;
import com.smartleanx.framework.common.pojo.PageResult;
import com.smartleanx.module.hrm.dal.mysql.instation.SystemInstationSmsMapper;
import com.smartleanx.module.hrm.service.esign.eums.ActorTypeEnum;
import com.smartleanx.module.hrm.service.esign.task.ESignTaskService;
import com.smartleanx.module.hrm.service.esign.temp.param.HrmEContractTaskParam;
import com.smartleanx.module.hrm.service.esign.temp.result.ComponentBathResult;
import com.smartleanx.module.hrm.service.esign.temp.result.ComponentResult;
import com.smartleanx.module.hrm.service.esign.temp.result.HrmETaskListResult;
import com.smartleanx.module.hrm.service.esign.temp.vo.FillInViewPDFLinkVo;
import com.smartleanx.module.hrm.service.esign.temp.vo.SignFlowParamVo;
import com.smartleanx.module.hrm.service.instation.InStationSmsService;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.util.HashMap;

@Tag(name =  "站内信")
@RestController
@RequestMapping("/hrm/instation/sms")
public class InstationSmsController {

    @Autowired
    private InStationSmsService inStationSmsService;


    @Operation(summary = "查询站内消息")
    @GetMapping("/getInstationPage")
    public CommonResult getInstationPage(PageParam param) {
        return CommonResult.success(inStationSmsService.getInstationPage(param)).setCode(200);
    }



}
